package com.gxc.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author GongXincheng
 * @since 2019-08-25 02:20
 */
@FeignClient(value = "springcloud-order", fallbackFactory = OrderFeignFallbackFactory.class)
public interface OrderFeign {

    @GetMapping("order")
    Object getOrder();

}
